projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f114367
)
(XTread_socket): ButtonPress clears f->mouse_moved.
author
Karl Heuer
<kwzh@gnu.org>
Thu, 5 Nov 1998 19:17:42 +0000
(19:17 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Thu, 5 Nov 1998 19:17:42 +0000
(19:17 +0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index e04b04ea6514a0d33ad64e84b7d59eb5e03c600d..8145689d416e8ef025924be54a5de2c4f6db4ca8 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-4566,6
+4566,11
@@
XTread_socket (sd, bufp, numchars, expected)
{
dpyinfo->grabbed |= (1 << event.xbutton.button);
last_mouse_frame = f;
+ /* Ignore any mouse motion that happened
+ before this event; any subsequent mouse-movement
+ Emacs events should reflect only motion after
+ the ButtonPress. */
+ f->mouse_moved = 0;
}
else
{